/**
 * actions for chat page
 */